<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt" %>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd

">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>房源</title>
<style>

</style>
</head>
<body>
<div style="height: 100px ;width: auto;" >
   <h1 align="center"><font color="blue">房屋出租表</font></h1>
</div>
	<table align="center"  border="1" cellpadding="0" cellspacing="0">
		<tr align="center">
			<td colspan="13" align="center"><div class="c1">房屋出租信息管理</div><div class="c2"><a href="update/0">发布信息</a></div></td>
		</tr>
		<tr align="center">
			<td align="center">编号</td>
			<td align="center">所在区域</td>
			<td align="center">小区名称</td>
			<td align="center">房型</td>
			<td align="center">房屋面积（/m²）</td>
			<td align="center">装修情况</td>
			<td align="center">楼层</td>
			<td align="center">租金（￥）</td>
			<td align="center">房东</td>
			<td align="center">房东电话</td>
			<td align="center">出租情况</td>
			<td align="center">发布人</td>
			<td align="center">修改</td>
		</tr>
		<c:forEach items="${houesList}" var="list">
		  <tr align="center">
			<td align="center">${list.hid}</td>
			<td align="center">${list.harea.name}</td>
			<td align="center">${list.hname}</td>
			<td align="center">${list.hfx}</td>
			<td align="center">${list.hmj}（/m²）</td>
			<td align="center">${list.hzx}</td>
			<td align="center">${list.hlc}</td>
			<td align="center">${list.hzj}（￥）</td>
			<td align="center">${list.hfd}</td>
			<td align="center">${list.hfdtel}</td>
			<td align="center">${list.hqk==0?'<font color="red">还未出租</font>':'<font color="blue">已经出租</font>'}</td>
			<td align="center">${list.uid.urealname}</td>
			<td align="center"><a href="update/${list.hid}">修改</a></td>
		</tr>
		</c:forEach>
	</table>
</body>

</html>